import { ref } from 'vue'
import request from '@/utils/request.js'
export const findAllQuestions = (params) => {
    return request.get('/sysSimulatedExam/findAllQuestions/'+ params)
}
export const finduser = (params) => {
    return request.get('/user/getid/'+ params)
}
export const findexaminationByType = (params) => {
    return request.get('/sysSimulatedExam/findexaminationById/'+ params)
}
export const submitExamResult = (params) => {
    return request.post('/sysSimulatedExam/submit',params)
}
export const findtime = () => { 
    return request.get('/sysSimulatedExam/countdown')
}